<?

require("config.php");

//if (!Authent($username)) header("location:index.php");

$table = "med_book_recommandation";

$field = array(

"id",
"subject",
"url",
"picture",
"author",
"details",
"url2",
);

$r = limitQuery($table,$field,$exp);

require($rela_path . "header.php");
?>


<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <!--<td width="17"><img src="<?=$rela_path?>images/shim.gif" width="17" height="1"></td>-->
    <td width="186" valign="top"> 
      <?require("../nav.php")?>
    </td>
    <td width="11"><img src="<?=$rela_path?>images/shim.gif" width="11" height="1"></td>
    <td valign="top"> 
      <?require("../menu.php")?>
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td align="right"><table width="100%" border="0">
              <tr> 
                <td height="50" class="header">&gt;&gt; 
                    Books Recommendation</td>
              </tr>
            </table></td>
        </tr>
      </table>

	  <?for ($i=0;$i<count($r);$i++){?>



      <table width="98%" height="64" border="0" align="center" cellpadding="1" cellspacing="0">


        <tr> 
          <td rowspan="2" align="center" width="26%">
		  <a href="<?=$r[$i][2]?>" target="_blank">
		  <img src="<?=$rela_path . $PIC_DIR . "$table/" . $r[$i][3]?>" width="70" height="100" class="imgborder"></a>		  </td>
          <td height="31" colspan="3"><b><?=$r[$i][1]?></b>			</td>
        </tr>
        <tr> 
          <td width="16%" height="32"><?=$r[$i][4]?></td>
          <td width="34%">
            <?=$r[$i][5]?>
          </td>
          <td width="24%" height="32" align="center"> 
			<a href="http://webshop.acuityworld.com" target="_blank"><img src="../images/bt_buy.gif" border="0"></a></td>
        </tr>
      </table>

	<br>
	<TABLE width="95%" border="0" align="center" cellpadding="0" cellspacing="0" height="1">
	<tr>
		<td background="../images/line.gif"><img src="../images/shim.gif" width="1" height="1" border="0"></td>
	</tr>
	</table>


<br>

	  <?}?>


      <br> </td>
    <td width="11"><img src="<?=$rela_path?>images/shim.gif" width="11" height="1"></td>
    <td width="173" valign="top">
	
	
<?require("../list.php")?>	 
	  
	  
    </td>
    <!--<td width="17"><img src="<?=$rela_path?>images/shim.gif" width="17" height="1"></td>-->
  </tr>
</table>





<?require("../footer.php")?>	